/*
 * (C) Copyright 2013 Aepona Limited. All Rights Reserved.
 *
 * These materials are unpublished, proprietary, confidential source code of Aepona Limited and constitute a
 * TRADE SECRET of Aepona Limited.
 *
 * Aepona Limited retains all title to and intellectual property rights in these materials.
 */

package com.intel.sam.modulePartnerIntegration.functional;

/**
 * Created by IntelliJ IDEA.
 * User: Aruna Rajapaksha
 * Date: 3/16/12
 * Time: 12:06 PM
 */

import org.testng.annotations.DataProvider;

public class AppTestData
{

    @DataProvider( name = "unitLoginData" )
    public static Object[][] unitLoginData()
    {

        return new Object[][]{ { "Happy Scenario", "aepona", "pWd123$", "1|OK" },
            { "Invalid User & Password", "user", "123$", "0|NO" }, { "Invalid User", "user", "pWd123$", "0|NO" },
            { "Invalid Password", "aepona", "pwd123$", "0|NO" }, { "Empty Inputs", "", "", "0|NO" },
            { "NULL User", null, "pwd123", "-1|Error" }, { "NULL Password", "user", null, "-1|Error" }, };
    }

    @DataProvider( name = "intLoginData" )
    public static Object[][] intLoginData()
    {

        return new Object[][]{ { "Happy Scenario", "aepona", "pWd123$", "1|OK" },
            { "Invalid User & Password", "user", "123$", "0|NO" }, { "Invalid User", "user", "pWd123$", "0|NO" },
            { "Invalid Password", "aepona", "pwd123$", "0|NO" }, { "Empty Inputs", "", "", "0|NO" },
            { "NULL User", null, "pwd123", "-1|Error" }, { "NULL Password", "user", null, "-1|Error" }, };
    }
}